<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Embroidermodder: extern/libembroidery/src/pattern.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  extensions: ["tex2jax.js", "TeX/AMSmath.js"],
  jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="logo_embroidermodder_2_0.png"/></td>
  <td id="projectalign">
   <div id="projectname">Embroidermodder<span id="projectnumber">&#160;2.0.0-alpha4</span>
   </div>
   <div id="projectbrief">A free and open source software for machine embroidery</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('pattern_8c.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">pattern.c File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;stdio.h&gt;</code><br />
<code>#include &lt;stdlib.h&gt;</code><br />
<code>#include &lt;string.h&gt;</code><br />
<code>#include &lt;math.h&gt;</code><br />
<code>#include &quot;<a class="el" href="embroidery__internal_8h_source.html">embroidery_internal.h</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a7454ecbf98b46d74f1138772b6c9244f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a7454ecbf98b46d74f1138772b6c9244f">embPattern_create</a> (void)</td></tr>
<tr class="separator:a7454ecbf98b46d74f1138772b6c9244f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bb50be01adbf928259862522b20a7ef"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a5bb50be01adbf928259862522b20a7ef">embPattern_hideStitchesOverLength</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p, int length)</td></tr>
<tr class="separator:a5bb50be01adbf928259862522b20a7ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47939925c2c6e7a4c48f3341d5646cac"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a47939925c2c6e7a4c48f3341d5646cac">embPattern_addThread</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern, <a class="el" href="embroidery_8h.html#ab3faffce89b1a5043f8b4e3a001a70bd">EmbThread</a> thread)</td></tr>
<tr class="separator:a47939925c2c6e7a4c48f3341d5646cac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07b42ab1ae4028608bf4462d4a5abbcc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a07b42ab1ae4028608bf4462d4a5abbcc">embPattern_fixColorCount</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p)</td></tr>
<tr class="separator:a07b42ab1ae4028608bf4462d4a5abbcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a007fd0ac881d6ac89ef4d42b280df25c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a007fd0ac881d6ac89ef4d42b280df25c">embPattern_copystitch_listToPolylines</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p)</td></tr>
<tr class="separator:a007fd0ac881d6ac89ef4d42b280df25c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54aee02ff890052e686ee3833530810e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a54aee02ff890052e686ee3833530810e">embPattern_copyPolylinesTostitch_list</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p)</td></tr>
<tr class="separator:a54aee02ff890052e686ee3833530810e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53eb1589455d6b26f039bc896896c318"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a53eb1589455d6b26f039bc896896c318">embPattern_movestitch_listToPolylines</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p)</td></tr>
<tr class="separator:a53eb1589455d6b26f039bc896896c318"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36011b0cbca0eff52965384fc39428cf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a36011b0cbca0eff52965384fc39428cf">embPattern_movePolylinesTostitch_list</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p)</td></tr>
<tr class="separator:a36011b0cbca0eff52965384fc39428cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17fc7b79b4797c2fe3525a0d98d2c7a1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a17fc7b79b4797c2fe3525a0d98d2c7a1">embPattern_addStitchAbs</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p, <a class="el" href="embroidery_8h.html#a2082be9aabfb541dff1825c4ca6a05cd">EmbReal</a> x, <a class="el" href="embroidery_8h.html#a2082be9aabfb541dff1825c4ca6a05cd">EmbReal</a> y, int flags, int isAutoColorIndex)</td></tr>
<tr class="separator:a17fc7b79b4797c2fe3525a0d98d2c7a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b40e9cf89cafe0759660391bb077157"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a5b40e9cf89cafe0759660391bb077157">embPattern_addStitchRel</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p, <a class="el" href="embroidery_8h.html#a2082be9aabfb541dff1825c4ca6a05cd">EmbReal</a> dx, <a class="el" href="embroidery_8h.html#a2082be9aabfb541dff1825c4ca6a05cd">EmbReal</a> dy, int flags, int isAutoColorIndex)</td></tr>
<tr class="separator:a5b40e9cf89cafe0759660391bb077157"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3eeb95756c08038c1c34f7684eb89fbb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a3eeb95756c08038c1c34f7684eb89fbb">embPattern_changeColor</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p, int index)</td></tr>
<tr class="separator:a3eeb95756c08038c1c34f7684eb89fbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a009a0eb0cb46f3448670f22898c0d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a0a009a0eb0cb46f3448670f22898c0d6">embPattern_scale</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p, <a class="el" href="embroidery_8h.html#a2082be9aabfb541dff1825c4ca6a05cd">EmbReal</a> scale)</td></tr>
<tr class="separator:a0a009a0eb0cb46f3448670f22898c0d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7b08c708386bb4559bc697aba059606"><td class="memItemLeft" align="right" valign="top"><a class="el" href="embroidery_8h.html#ac2f33b151fc40a0da3b14379aa0ec653">EmbRect</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#ac7b08c708386bb4559bc697aba059606">embPattern_calcBoundingBox</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p)</td></tr>
<tr class="separator:ac7b08c708386bb4559bc697aba059606"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03aeabbb8a0817a43c99e21b13cb385d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a03aeabbb8a0817a43c99e21b13cb385d">embPattern_flipHorizontal</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p)</td></tr>
<tr class="separator:a03aeabbb8a0817a43c99e21b13cb385d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9290c221f3fe26b76d2ba89f55c7506e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a9290c221f3fe26b76d2ba89f55c7506e">embPattern_flipVertical</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p)</td></tr>
<tr class="separator:a9290c221f3fe26b76d2ba89f55c7506e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc02ab8185e23b961cfaf0146959fc9b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#abc02ab8185e23b961cfaf0146959fc9b">embPattern_flip</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p, int horz, int vert)</td></tr>
<tr class="separator:abc02ab8185e23b961cfaf0146959fc9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae90a804c5c8c1672a93b334ef7df5751"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#ae90a804c5c8c1672a93b334ef7df5751">embPattern_combineJumpStitches</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p)</td></tr>
<tr class="separator:ae90a804c5c8c1672a93b334ef7df5751"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d1fde93564a15d1ec24399fc613d1ac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a6d1fde93564a15d1ec24399fc613d1ac">embPattern_correctForMaxStitchLength</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p, <a class="el" href="embroidery_8h.html#a2082be9aabfb541dff1825c4ca6a05cd">EmbReal</a> maxStitchLength, <a class="el" href="embroidery_8h.html#a2082be9aabfb541dff1825c4ca6a05cd">EmbReal</a> maxJumpLength)</td></tr>
<tr class="separator:a6d1fde93564a15d1ec24399fc613d1ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a946dffa0158312022c6d29ace7bcaa5f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a946dffa0158312022c6d29ace7bcaa5f">embPattern_center</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p)</td></tr>
<tr class="separator:a946dffa0158312022c6d29ace7bcaa5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affce36de035972e292b112c90c0a3db3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#affce36de035972e292b112c90c0a3db3">embPattern_loadExternalColorFile</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p, const char *fileName)</td></tr>
<tr class="separator:affce36de035972e292b112c90c0a3db3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a644e83f2c9bcb606bc0b252a6fe443ed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a644e83f2c9bcb606bc0b252a6fe443ed">embPattern_free</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p)</td></tr>
<tr class="separator:a644e83f2c9bcb606bc0b252a6fe443ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57eea8d07ef409b346274e1dbef1b1eb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a57eea8d07ef409b346274e1dbef1b1eb">embPattern_addCircleAbs</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p, <a class="el" href="embroidery_8h.html#a87fc13ccd4dbaa7de7c85efde17bba0e">EmbCircle</a> circle)</td></tr>
<tr class="separator:a57eea8d07ef409b346274e1dbef1b1eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d7baeee25db478c3477623d0868e61a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a9d7baeee25db478c3477623d0868e61a">embPattern_addEllipseAbs</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p, <a class="el" href="embroidery_8h.html#a4e48ebde5bd4d82b875f98b347bdd62c">EmbEllipse</a> ellipse)</td></tr>
<tr class="separator:a9d7baeee25db478c3477623d0868e61a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5a23f63ca8875b1984777cd479953cc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#af5a23f63ca8875b1984777cd479953cc">embPattern_addLineAbs</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p, <a class="el" href="embroidery_8h.html#a62e08237073617de993166ed4a9ab085">EmbLine</a> line)</td></tr>
<tr class="separator:af5a23f63ca8875b1984777cd479953cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff0bec12c39eb9fa4ce5d884c319aa6e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#aff0bec12c39eb9fa4ce5d884c319aa6e">embPattern_addPathAbs</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p, <a class="el" href="embroidery_8h.html#af29045dfeebafdcb66d114b390c4a686">EmbPath</a> obj)</td></tr>
<tr class="separator:aff0bec12c39eb9fa4ce5d884c319aa6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c1bae0ddc2fe602a8a9460c97cf8d93"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a2c1bae0ddc2fe602a8a9460c97cf8d93">embPattern_addPointAbs</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p, <a class="el" href="embroidery_8h.html#a835ccc3aedf71b57dca6130be87ea463">EmbPoint</a> obj)</td></tr>
<tr class="separator:a2c1bae0ddc2fe602a8a9460c97cf8d93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c97f838d34c72756976c78124b3c1c6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a9c97f838d34c72756976c78124b3c1c6">embPattern_addPolygonAbs</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p, <a class="el" href="embroidery_8h.html#a2d6988a5f4ba24d26c7eff65dbc9d029">EmbPolygon</a> obj)</td></tr>
<tr class="separator:a9c97f838d34c72756976c78124b3c1c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e113e806d321670edf5c2117a5d305d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a3e113e806d321670edf5c2117a5d305d">embPattern_addPolylineObjectAbs</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p, <a class="el" href="embroidery_8h.html#ab5563c868d8f8174d5be764808a647dd">EmbPolyline</a> obj)</td></tr>
<tr class="separator:a3e113e806d321670edf5c2117a5d305d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acce82815d84bedaf48077694d5bddad9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#acce82815d84bedaf48077694d5bddad9">embPattern_addRectAbs</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p, <a class="el" href="embroidery_8h.html#ac2f33b151fc40a0da3b14379aa0ec653">EmbRect</a> rect)</td></tr>
<tr class="separator:acce82815d84bedaf48077694d5bddad9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88d9dae8d9ba52860504600c3817f6ea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a88d9dae8d9ba52860504600c3817f6ea">embPattern_end</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *p)</td></tr>
<tr class="separator:a88d9dae8d9ba52860504600c3817f6ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e5add3887b4238d28ebc9d510f5bff7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a2e5add3887b4238d28ebc9d510f5bff7">embPattern_color_count</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern, <a class="el" href="embroidery_8h.html#acde9d757854564332fd795a084ec88b3">EmbColor</a> startColor)</td></tr>
<tr class="separator:a2e5add3887b4238d28ebc9d510f5bff7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a521b227079bdcc139481887a62cac7d8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a521b227079bdcc139481887a62cac7d8">embPattern_designDetails</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern)</td></tr>
<tr class="separator:a521b227079bdcc139481887a62cac7d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4de8d6ce23118cc49a67c745b171b44"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#aa4de8d6ce23118cc49a67c745b171b44">convert</a> (const char *inf, const char *outf)</td></tr>
<tr class="separator:aa4de8d6ce23118cc49a67c745b171b44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae440b4131b1d73ad8a1bc12e728c8d06"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#ae440b4131b1d73ad8a1bc12e728c8d06">embPattern_totalStitchLength</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern)</td></tr>
<tr class="separator:ae440b4131b1d73ad8a1bc12e728c8d06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74d47671ecef2b96df06b4818c4e897c"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a74d47671ecef2b96df06b4818c4e897c">embPattern_minimumStitchLength</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern)</td></tr>
<tr class="separator:a74d47671ecef2b96df06b4818c4e897c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee58368f0eeb39fd45542ed541d8b2c0"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#aee58368f0eeb39fd45542ed541d8b2c0">embPattern_maximumStitchLength</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern)</td></tr>
<tr class="separator:aee58368f0eeb39fd45542ed541d8b2c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9438dfa7af346213c2045da6b3d928d2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a9438dfa7af346213c2045da6b3d928d2">embPattern_lengthHistogram</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern, int *bin, int NUMBINS)</td></tr>
<tr class="separator:a9438dfa7af346213c2045da6b3d928d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fa6234c1cf2e60f0c010bcb8c595f00"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a9fa6234c1cf2e60f0c010bcb8c595f00">embPattern_realStitches</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern)</td></tr>
<tr class="separator:a9fa6234c1cf2e60f0c010bcb8c595f00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a168de5926ad183a253aae19374949575"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#a168de5926ad183a253aae19374949575">embPattern_jumpStitches</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern)</td></tr>
<tr class="separator:a168de5926ad183a253aae19374949575"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae860b71c8945cf638dd7963d9fc6962c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pattern_8c.html#ae860b71c8945cf638dd7963d9fc6962c">embPattern_trimStitches</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern)</td></tr>
<tr class="separator:ae860b71c8945cf638dd7963d9fc6962c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >The file is for the management of the main struct: EmbPattern. </p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="aa4de8d6ce23118cc49a67c745b171b44" name="aa4de8d6ce23118cc49a67c745b171b44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4de8d6ce23118cc49a67c745b171b44">&#9670;&nbsp;</a></span>convert()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int convert </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>inf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>outf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a57eea8d07ef409b346274e1dbef1b1eb" name="a57eea8d07ef409b346274e1dbef1b1eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a57eea8d07ef409b346274e1dbef1b1eb">&#9670;&nbsp;</a></span>embPattern_addCircleAbs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_addCircleAbs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a87fc13ccd4dbaa7de7c85efde17bba0e">EmbCircle</a>&#160;</td>
          <td class="paramname"><em>circle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Adds a circle object to pattern (<em>p</em>) with its center at the absolute position (<em>cx</em>,<em>cy</em>) with a radius of (<em>r</em>). Positive y is up. Units are in millimeters. </p>

</div>
</div>
<a id="a9d7baeee25db478c3477623d0868e61a" name="a9d7baeee25db478c3477623d0868e61a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d7baeee25db478c3477623d0868e61a">&#9670;&nbsp;</a></span>embPattern_addEllipseAbs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_addEllipseAbs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a4e48ebde5bd4d82b875f98b347bdd62c">EmbEllipse</a>&#160;</td>
          <td class="paramname"><em>ellipse</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Adds an ellipse object to pattern (<em>p</em>) with its center at the absolute position (<em>cx</em>,<em>cy</em>) with radii of (<em>rx</em>,<em>ry</em>). Positive y is up. Units are in millimeters. </p>

</div>
</div>
<a id="af5a23f63ca8875b1984777cd479953cc" name="af5a23f63ca8875b1984777cd479953cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5a23f63ca8875b1984777cd479953cc">&#9670;&nbsp;</a></span>embPattern_addLineAbs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_addLineAbs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a62e08237073617de993166ed4a9ab085">EmbLine</a>&#160;</td>
          <td class="paramname"><em>line</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Adds a line object to pattern (<em>p</em>) starting at the absolute position (<em>x1</em>,<em>y1</em>) and ending at the absolute position (<em>x2</em>,<em>y2</em>). Positive y is up. Units are in millimeters. </p>

</div>
</div>
<a id="aff0bec12c39eb9fa4ce5d884c319aa6e" name="aff0bec12c39eb9fa4ce5d884c319aa6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff0bec12c39eb9fa4ce5d884c319aa6e">&#9670;&nbsp;</a></span>embPattern_addPathAbs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_addPathAbs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#af29045dfeebafdcb66d114b390c4a686">EmbPath</a>&#160;</td>
          <td class="paramname"><em>obj</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a2c1bae0ddc2fe602a8a9460c97cf8d93" name="a2c1bae0ddc2fe602a8a9460c97cf8d93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c1bae0ddc2fe602a8a9460c97cf8d93">&#9670;&nbsp;</a></span>embPattern_addPointAbs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_addPointAbs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a835ccc3aedf71b57dca6130be87ea463">EmbPoint</a>&#160;</td>
          <td class="paramname"><em>obj</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Adds a point object to pattern (<em>p</em>) at the absolute position (<em>x</em>,<em>y</em>). Positive y is up. Units are in millimeters. </p>

</div>
</div>
<a id="a9c97f838d34c72756976c78124b3c1c6" name="a9c97f838d34c72756976c78124b3c1c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c97f838d34c72756976c78124b3c1c6">&#9670;&nbsp;</a></span>embPattern_addPolygonAbs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_addPolygonAbs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a2d6988a5f4ba24d26c7eff65dbc9d029">EmbPolygon</a>&#160;</td>
          <td class="paramname"><em>obj</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a3e113e806d321670edf5c2117a5d305d" name="a3e113e806d321670edf5c2117a5d305d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e113e806d321670edf5c2117a5d305d">&#9670;&nbsp;</a></span>embPattern_addPolylineObjectAbs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_addPolylineObjectAbs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#ab5563c868d8f8174d5be764808a647dd">EmbPolyline</a>&#160;</td>
          <td class="paramname"><em>obj</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="acce82815d84bedaf48077694d5bddad9" name="acce82815d84bedaf48077694d5bddad9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acce82815d84bedaf48077694d5bddad9">&#9670;&nbsp;</a></span>embPattern_addRectAbs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_addRectAbs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#ac2f33b151fc40a0da3b14379aa0ec653">EmbRect</a>&#160;</td>
          <td class="paramname"><em>rect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Adds a rectangle object to pattern (<em>p</em>) at the absolute position (<em>x</em>,<em>y</em>) with a width of (<em>w</em>) and a height of (<em>h</em>). Positive y is up. Units are in millimeters. </p>

</div>
</div>
<a id="a17fc7b79b4797c2fe3525a0d98d2c7a1" name="a17fc7b79b4797c2fe3525a0d98d2c7a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17fc7b79b4797c2fe3525a0d98d2c7a1">&#9670;&nbsp;</a></span>embPattern_addStitchAbs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_addStitchAbs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a2082be9aabfb541dff1825c4ca6a05cd">EmbReal</a>&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a2082be9aabfb541dff1825c4ca6a05cd">EmbReal</a>&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>flags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>isAutoColorIndex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Adds a stitch to the pattern (<em>p</em>) at the absolute position (<em>x</em>,<em>y</em>). Positive y is up. Units are in millimeters. </p>

</div>
</div>
<a id="a5b40e9cf89cafe0759660391bb077157" name="a5b40e9cf89cafe0759660391bb077157"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b40e9cf89cafe0759660391bb077157">&#9670;&nbsp;</a></span>embPattern_addStitchRel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_addStitchRel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a2082be9aabfb541dff1825c4ca6a05cd">EmbReal</a>&#160;</td>
          <td class="paramname"><em>dx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a2082be9aabfb541dff1825c4ca6a05cd">EmbReal</a>&#160;</td>
          <td class="paramname"><em>dy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>flags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>isAutoColorIndex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Adds a stitch to the pattern (<em>p</em>) at the relative position (<em>dx</em>,<em>dy</em>) to the previous stitch. Positive y is up. Units are in millimeters. </p>

</div>
</div>
<a id="a47939925c2c6e7a4c48f3341d5646cac" name="a47939925c2c6e7a4c48f3341d5646cac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47939925c2c6e7a4c48f3341d5646cac">&#9670;&nbsp;</a></span>embPattern_addThread()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int embPattern_addThread </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#ab3faffce89b1a5043f8b4e3a001a70bd">EmbThread</a>&#160;</td>
          <td class="paramname"><em>thread</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p ><em>pattern</em> <em>thread</em> </p><dl class="section return"><dt>Returns</dt><dd>int </dd></dl>

</div>
</div>
<a id="ac7b08c708386bb4559bc697aba059606" name="ac7b08c708386bb4559bc697aba059606"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7b08c708386bb4559bc697aba059606">&#9670;&nbsp;</a></span>embPattern_calcBoundingBox()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="embroidery_8h.html#ac2f33b151fc40a0da3b14379aa0ec653">EmbRect</a> embPattern_calcBoundingBox </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Returns an EmbRect that encapsulates all stitches and objects in the pattern (<em>p</em>). </p>

</div>
</div>
<a id="a946dffa0158312022c6d29ace7bcaa5f" name="a946dffa0158312022c6d29ace7bcaa5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a946dffa0158312022c6d29ace7bcaa5f">&#9670;&nbsp;</a></span>embPattern_center()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_center </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Center the pattern <em>p</em>. </p>

</div>
</div>
<a id="a3eeb95756c08038c1c34f7684eb89fbb" name="a3eeb95756c08038c1c34f7684eb89fbb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3eeb95756c08038c1c34f7684eb89fbb">&#9670;&nbsp;</a></span>embPattern_changeColor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_changeColor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Change the currentColorIndex of pattern <em>p</em> to <em>index</em>. </p>

</div>
</div>
<a id="a2e5add3887b4238d28ebc9d510f5bff7" name="a2e5add3887b4238d28ebc9d510f5bff7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e5add3887b4238d28ebc9d510f5bff7">&#9670;&nbsp;</a></span>embPattern_color_count()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int embPattern_color_count </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#acde9d757854564332fd795a084ec88b3">EmbColor</a>&#160;</td>
          <td class="paramname"><em>startColor</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae90a804c5c8c1672a93b334ef7df5751" name="ae90a804c5c8c1672a93b334ef7df5751"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae90a804c5c8c1672a93b334ef7df5751">&#9670;&nbsp;</a></span>embPattern_combineJumpStitches()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_combineJumpStitches </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p ><em>p</em> </p>

</div>
</div>
<a id="a54aee02ff890052e686ee3833530810e" name="a54aee02ff890052e686ee3833530810e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54aee02ff890052e686ee3833530810e">&#9670;&nbsp;</a></span>embPattern_copyPolylinesTostitch_list()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_copyPolylinesTostitch_list </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Copies all of the EmbPolylineObjectList data to Embstitch_list data for pattern (<em>p</em>). </p>

</div>
</div>
<a id="a007fd0ac881d6ac89ef4d42b280df25c" name="a007fd0ac881d6ac89ef4d42b280df25c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a007fd0ac881d6ac89ef4d42b280df25c">&#9670;&nbsp;</a></span>embPattern_copystitch_listToPolylines()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_copystitch_listToPolylines </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Copies all of the Embstitch_list data to EmbPolylineObjectList data for pattern (<em>p</em>). </p>

</div>
</div>
<a id="a6d1fde93564a15d1ec24399fc613d1ac" name="a6d1fde93564a15d1ec24399fc613d1ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d1fde93564a15d1ec24399fc613d1ac">&#9670;&nbsp;</a></span>embPattern_correctForMaxStitchLength()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_correctForMaxStitchLength </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a2082be9aabfb541dff1825c4ca6a05cd">EmbReal</a>&#160;</td>
          <td class="paramname"><em>maxStitchLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a2082be9aabfb541dff1825c4ca6a05cd">EmbReal</a>&#160;</td>
          <td class="paramname"><em>maxJumpLength</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000238">Todo:</a></b></dt><dd>The params determine the max XY movement rather than the length. They need renamed or clarified further. </dd></dl>

</div>
</div>
<a id="a7454ecbf98b46d74f1138772b6c9244f" name="a7454ecbf98b46d74f1138772b6c9244f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7454ecbf98b46d74f1138772b6c9244f">&#9670;&nbsp;</a></span>embPattern_create()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> * embPattern_create </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Returns a pointer to an EmbPattern. It is created on the heap. The caller is responsible for freeing the allocated memory with <a class="el" href="pattern_8c.html#a644e83f2c9bcb606bc0b252a6fe443ed">embPattern_free()</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>EmbPattern* </dd></dl>

</div>
</div>
<a id="a521b227079bdcc139481887a62cac7d8" name="a521b227079bdcc139481887a62cac7d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a521b227079bdcc139481887a62cac7d8">&#9670;&nbsp;</a></span>embPattern_designDetails()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_designDetails </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a88d9dae8d9ba52860504600c3817f6ea" name="a88d9dae8d9ba52860504600c3817f6ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88d9dae8d9ba52860504600c3817f6ea">&#9670;&nbsp;</a></span>embPattern_end()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_end </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a07b42ab1ae4028608bf4462d4a5abbcc" name="a07b42ab1ae4028608bf4462d4a5abbcc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07b42ab1ae4028608bf4462d4a5abbcc">&#9670;&nbsp;</a></span>embPattern_fixColorCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_fixColorCount </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p ><em>p</em> </p>

</div>
</div>
<a id="abc02ab8185e23b961cfaf0146959fc9b" name="abc02ab8185e23b961cfaf0146959fc9b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc02ab8185e23b961cfaf0146959fc9b">&#9670;&nbsp;</a></span>embPattern_flip()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_flip </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>horz</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>vert</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Flips the entire pattern (<em>p</em>) horizontally about the x-axis if (<em>horz</em>) is true. Flips the entire pattern (<em>p</em>) vertically about the y-axis if (<em>vert</em>) is true. </p>

</div>
</div>
<a id="a03aeabbb8a0817a43c99e21b13cb385d" name="a03aeabbb8a0817a43c99e21b13cb385d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03aeabbb8a0817a43c99e21b13cb385d">&#9670;&nbsp;</a></span>embPattern_flipHorizontal()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_flipHorizontal </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Flips the entire pattern (<em>p</em>) horizontally about the y-axis. </p>

</div>
</div>
<a id="a9290c221f3fe26b76d2ba89f55c7506e" name="a9290c221f3fe26b76d2ba89f55c7506e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9290c221f3fe26b76d2ba89f55c7506e">&#9670;&nbsp;</a></span>embPattern_flipVertical()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_flipVertical </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Flips the entire pattern (<em>p</em>) vertically about the x-axis. </p>

</div>
</div>
<a id="a644e83f2c9bcb606bc0b252a6fe443ed" name="a644e83f2c9bcb606bc0b252a6fe443ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a644e83f2c9bcb606bc0b252a6fe443ed">&#9670;&nbsp;</a></span>embPattern_free()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_free </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Frees all memory allocated in the pattern (<em>p</em>). </p>

</div>
</div>
<a id="a5bb50be01adbf928259862522b20a7ef" name="a5bb50be01adbf928259862522b20a7ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5bb50be01adbf928259862522b20a7ef">&#9670;&nbsp;</a></span>embPattern_hideStitchesOverLength()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_hideStitchesOverLength </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p ><em>p</em> <em>length</em> </p>

</div>
</div>
<a id="a168de5926ad183a253aae19374949575" name="a168de5926ad183a253aae19374949575"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a168de5926ad183a253aae19374949575">&#9670;&nbsp;</a></span>embPattern_jumpStitches()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int embPattern_jumpStitches </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a9438dfa7af346213c2045da6b3d928d2" name="a9438dfa7af346213c2045da6b3d928d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9438dfa7af346213c2045da6b3d928d2">&#9670;&nbsp;</a></span>embPattern_lengthHistogram()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_lengthHistogram </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>bin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>NUMBINS</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="affce36de035972e292b112c90c0a3db3" name="affce36de035972e292b112c90c0a3db3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#affce36de035972e292b112c90c0a3db3">&#9670;&nbsp;</a></span>embPattern_loadExternalColorFile()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_loadExternalColorFile </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fileName</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >TODO: Description needed. </p>

</div>
</div>
<a id="aee58368f0eeb39fd45542ed541d8b2c0" name="aee58368f0eeb39fd45542ed541d8b2c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee58368f0eeb39fd45542ed541d8b2c0">&#9670;&nbsp;</a></span>embPattern_maximumStitchLength()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float embPattern_maximumStitchLength </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a74d47671ecef2b96df06b4818c4e897c" name="a74d47671ecef2b96df06b4818c4e897c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74d47671ecef2b96df06b4818c4e897c">&#9670;&nbsp;</a></span>embPattern_minimumStitchLength()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float embPattern_minimumStitchLength </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a36011b0cbca0eff52965384fc39428cf" name="a36011b0cbca0eff52965384fc39428cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36011b0cbca0eff52965384fc39428cf">&#9670;&nbsp;</a></span>embPattern_movePolylinesTostitch_list()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_movePolylinesTostitch_list </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Moves all of the EmbPolylineObjectList data to Embstitch_list data for pattern (<em>p</em>). </p>

</div>
</div>
<a id="a53eb1589455d6b26f039bc896896c318" name="a53eb1589455d6b26f039bc896896c318"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53eb1589455d6b26f039bc896896c318">&#9670;&nbsp;</a></span>embPattern_movestitch_listToPolylines()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_movestitch_listToPolylines </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Moves all of the Embstitch_list data to EmbPolylineObjectList data for pattern (<em>p</em>). </p>

</div>
</div>
<a id="a9fa6234c1cf2e60f0c010bcb8c595f00" name="a9fa6234c1cf2e60f0c010bcb8c595f00"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9fa6234c1cf2e60f0c010bcb8c595f00">&#9670;&nbsp;</a></span>embPattern_realStitches()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int embPattern_realStitches </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a0a009a0eb0cb46f3448670f22898c0d6" name="a0a009a0eb0cb46f3448670f22898c0d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a009a0eb0cb46f3448670f22898c0d6">&#9670;&nbsp;</a></span>embPattern_scale()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void embPattern_scale </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a2082be9aabfb541dff1825c4ca6a05cd">EmbReal</a>&#160;</td>
          <td class="paramname"><em>scale</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Very simple scaling of the x and y axis for every point. Doesn't insert or delete stitches to preserve density. </p>

</div>
</div>
<a id="ae440b4131b1d73ad8a1bc12e728c8d06" name="ae440b4131b1d73ad8a1bc12e728c8d06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae440b4131b1d73ad8a1bc12e728c8d06">&#9670;&nbsp;</a></span>embPattern_totalStitchLength()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float embPattern_totalStitchLength </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p ><em>pattern</em> </p><dl class="section return"><dt>Returns</dt><dd>float </dd></dl>

</div>
</div>
<a id="ae860b71c8945cf638dd7963d9fc6962c" name="ae860b71c8945cf638dd7963d9fc6962c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae860b71c8945cf638dd7963d9fc6962c">&#9670;&nbsp;</a></span>embPattern_trimStitches()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int embPattern_trimStitches </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_dc9e1e299a0b26f222fe6c0a872463f0.html">extern</a></li><li class="navelem"><a class="el" href="dir_6a8aa8af2875e58e82a0145491f7a8e2.html">libembroidery</a></li><li class="navelem"><a class="el" href="dir_50a7dc5dba8160ac8332d90912e622db.html">src</a></li><li class="navelem"><a class="el" href="pattern_8c.html">pattern.c</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4 </li>
  </ul>
</div>
</body>
</html>
